libxc: really tolerate empty PV records
authorJan Beulich <jbeulich@suse.com>
Thu, 1 Mar 2018 14:09:38 +0000 (15:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 1 Mar 2018 14:09:38 +0000 (15:09 +0100)
commitf593747666677c4c1e2e250329c64956b732e61f
treea0f24d957e4d7dc71c73cf9a25178ffd374d6fcf
parent85688075ccc22c12bd0fca2a2c269199938e104c
libxc: really tolerate empty PV records

Commit 119ee4d773 ("tools/libxc: Tolerate specific zero-content records
in migration v2 streams") meant tolerate those, but failed to set rc
accordingly.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_sr_restore_x86_pv.c